package com.gomoney.auth.service;


import com.gomoney.oauth2.common.entity.sys.SysCaptcha;

import java.awt.image.BufferedImage;

public interface SysCaptchaService {

    String sendCode(String uuid);

    BufferedImage getCaptcha(String uuid);

    boolean validate(String uuid, String code);

    SysCaptcha findSysCaptchaById(String id);
}
